package com.xy.biz.uc.domain.enums;

import com.xy.lang.enums.CodeEnum;

public enum RoleTypeEnum implements CodeEnum {

    ADMINISTRATOR(0, "系统管理员"),
    DEFAULT(1, "内置角色"),
    CUSTOM(2, "自定义");

    private int code;
    private String desc;

    RoleTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
